<?php $this->context->layout = 'form';?>

<form class="form-horizontal m" id="form-edit">
    <?= \common\widgets\FormInput::widget(['name'=>'input','extend'=>['name'=>'id','type'=>'hidden','info'=>$info]])?>
    <?= \common\widgets\FormInput::widget(['name'=>'formradio|状态','extend'=>['name'=>'review_status','required'=>1,'data'=>$review_status]])?>
    <?= \common\widgets\FormInput::widget(['name'=>'formtextarea|备注','extend'=>['name'=>'review_remarks']])?>
</form>
<?php $this->beginBlock('script'); ?>
<script>
    function submitHandler() {
        if ($.validate.form()) {
            $.operate.save("<?=\yii\helpers\Url::to(['review'])?>", $('#form-edit').serialize());
        }
    }
</script>
<?php $this->endBlock(); ?>
